package com.ruoyi.business;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("t_buy")
public class Buy {
    @TableId(type= IdType.AUTO)
    private Integer id;

    private Integer pId;

    private Long uId;

    private Integer bNum;

    private Date createTime;

    private Date updateTime;

    private Integer adminBuy;

    public Integer getAdminBuy() {
        return adminBuy;
    }

    public void setAdminBuy(Integer adminBuy) {
        this.adminBuy = adminBuy;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public Integer getbNum() {
        return bNum;
    }

    public Long getuId() {
        return uId;
    }

    public void setuId(Long uId) {
        this.uId = uId;
    }

    public void setbNum(Integer bNum) {
        this.bNum = bNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}